Skip to content

Conversation

pcwalton
Copy link
Contributor

This breaks code like:

struct Foo {
    x: int,
}

let f: Foo = ...;
... f.x::<int> ...

Change this code to not contain an unused type parameter. For example:

struct Foo {
    x: int,
}

let f: Foo = ...;
... f.x ...

Closes #18680.

[breaking-change]

r? @aturon

This breaks code like:

    struct Foo {
        x: int,
    }

    let f: Foo = ...;
    ... f.x::<int> ...

Change this code to not contain an unused type parameter. For example:

    struct Foo {
        x: int,
    }

    let f: Foo = ...;
    ... f.x ...

Closes rust-lang#18680.

[breaking-change]
bors added a commit that referenced this pull request Nov 13, 2014
This breaks code like:

    struct Foo {
        x: int,
    }

    let f: Foo = ...;
    ... f.x::<int> ...

Change this code to not contain an unused type parameter. For example:

    struct Foo {
        x: int,
    }

    let f: Foo = ...;
    ... f.x ...

Closes #18680.

[breaking-change]

r? @aturon
@bors bors closed this Nov 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

type parameters on field references are allowed
3 participants